package cn.wqk.demo.service.impl;

import cn.wqk.demo.mapper.UserMapper;
import cn.wqk.demo.pojo.User;
import cn.wqk.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 吴青珂
 * @Date: 2020/12/25/12:18
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> allUser() {
        return userMapper.selectAllUser();
    }
}
